<!-- pages/quotes/quotes.html -->
<ion-navbar *navbar>
    <ion-title>Get a Quote!</ion-title>
</ion-navbar>

<ion-content padding class="quotes">
    <h2>Welcome to the Ionic 2 Quotes App!</h2>
    <p>You can get a regular quote below, or you can sign in to get a secret quote.</p>

    <button (click)="getQuote()">Get Quote</button>
    <button (click)="getSecretQuote()">Get Quote</button>
    <button *ngIf="auth.authenticated()" (click)="getSecretQuote()">Get Secret Quote</button>

    <h3>{{ quote }}</h3>

    <p class="error" *ngIf="error">{{ error }}</p>
</ion-content>
